export const riskpointColumn = [
	{
		label: "风险点名称",
		prop: "fxdmc",
		align: "center",
		search: true,
		rules: [{
			required: true,
			message: "请输入风险点名称",
			trigger: "blur"
		}]
	},
	{
		label: "风险点编号",
		prop: "fxdbh",
		align: "center",
		hide: true
	},
	{
		label: "风险点分类",
		prop: "fxdfl",
		type: "select",
		align: "center",
		hide: true,
		dicUrl: "/api/blade-system/dict-biz/dictionary?code=risk_point_classification",
		props: {
			label: "dictValue",
			value: "dictKey",
		},
		rules: [{
			required: true,
			message: "请选择风险点分类",
			trigger: "blur"
		}]
	},
	{
		label: "风险类别",
		prop: "fxfl",
		align: "center",
		type: "select",
		search: true,
		dicUrl: "/api/blade-system/dict-biz/dictionary?code=risk_classification",
		props: {
			label: "dictValue",
			value: "dictKey",
		},
		rules: [{
			required: true,
			message: "请选择风险分类",
			trigger: "blur"
		}]
	},
	{
		label: "所属部门",
		prop: "ssbm",
		align: "center",
		type: "tree",
		search: true,
		dicData: [],
		props: {
			label: "title"
		}
	},
	{
		label: "所属区域",
		prop: "ssdy",
		align: "center",
		hide: true
	},
	{
		label: "主要事故",
		prop: "zysglx",
		align: "center",
		multiple: true,
		slot: true,
		type: "tree",
		dicUrl: "/api/blade-system/dict-biz/dictionary?code=main_accident_types_at_risk_points",
		props: {
			label: "dictValue",
			value: "dictKey",
		},
		checkStrictly: true,
		rules: [{
			required: true,
			message: "请选择主要事故",
			trigger: "click"
		}]
	},
	{
		label: "负责人",
		prop: "zrr",
		align: "center",
		hide: true,
		type: "select",
		dicUrl: "/api/riskPoint/riskmanagement/getInternalStaff",
		props: {
			label: "realName",
			value: "id",
		},
		rules: [{
			required: true,
			message: "请选择负责人",
			trigger: "blur"
		}]
	},
	{
		label: "辨识人员",
		prop: "fxbsry",
		align: "center",
		hide: true,
		type: "select",
		dicUrl: "/api/riskPoint/riskmanagement/getInternalStaff",
		props: {
			label: "realName",
			value: "id",
		},
		rules: [{
			required: true,
			message: "请选择辨识人员",
			trigger: "blur"
		}]
	},
	{
		label: "评估周期（天）",
		prop: "pdzq",
		align: "center",
		hide: true,
		type: "number",
		minRows: 0,
		rules: [{
			required: true,
			message: "请输入评估周期",
			trigger: "blur"
		}]
	},
	{
		label: "风险等级",
		prop: "fxdj",
		align: "center",
		search: true,
		type: "select",
		width: 80,
		addDisplay: false,
		editDisplay: false,
		viewDisplay: false,
		dicUrl: "/api/blade-system/dict-biz/dictionary?code=risk_level",
		props: {
			label: "dictValue",
			value: "dictKey",
		},
		slot: true,
		rules: [{
			required: true,
			message: "请输入风险等级",
			trigger: "blur"
		}]
	},
	{
		label: "风险要素类别",
		prop: "fxyslb",
		hide: true,
		type: "select",
		multiple: true,
		dicUrl: "/api/blade-system/dict-biz/dictionary?code=risk_ele_type",
		props: {
			label: "dictValue",
			value: "dictKey",
		},
		rules: [{
			required: true,
			message: "请选择风险要素类别",
			trigger: "change"
		}]
	},
	{
		label: "是否设为巡检点",
		prop: "sfswxjd",
		hide: true,
		type: "select",
		dicData: [{
			label: "是",
			value: 1
		}, {
			label: "否",
			value: 0
		}],
		rules: [{
			required: true,
			message: "请选择是否设为巡检点",
			trigger: "change"
		}]
	},
	{
		label: "是否重大危险源",
		prop: "sfzdwxy",
		hide: true,
		type: "select",
		dicData: [{
			label: "是",
			value: 1
		}, {
			label: "否",
			value: 0
		}],
		rules: [{
			required: true,
			message: "请选择是否重大危险源",
			trigger: "change"
		}]
	},
	{
		label: "主要危害分析",
		prop: "zywxyhx",
		hide: true,
		type: "textarea",
		span: 24,
		maxlength: 150,
		rules: [{
			required: true,
			message: "请输入主要危害分析",
			trigger: "blur"
		}]
	},
	{
		label: "应急处置对策",
		prop: "yjczdc",
		hide: true,
		type: "textarea",
		span: 24,
		maxlength: 150,
		rules: [{
			required: true,
			message: "请输入应急处置对策",
			trigger: "blur"
		}]
	},
	{
		label: "警示标志",
		prop: "jsbz",
		hide: true,
		span: 24,
		formslot: true
	},
	{
		label: "",
		prop: "jsbzContent",
		hide: true,
		span: 24,
		formslot: true
	},
	{
		label: "现场图片",
		prop: "xczp",
		align: "center",
		slot: true,
		span: 24,
		width: 80,
		formslot: true,
	},
	{
		label: "",
		prop: "xczpContent",
		hide: true,
		span: 24,
		formslot: true
	},
	{
		label: "评估状态",
		prop: "isassess",
		align: "center",
		slot: true,
		width: 80,
		addDisplay: false,
		editDisplay: false,
		viewDisplay: false,
		rules: [{
			required: true,
			message: "请输入评估状态",
			trigger: "blur"
		}]
	},
	{
		label: "评估人",
		prop: "pgrMc",
		align: "center",
		width: 100,
		addDisplay: false,
		editDisplay: false,
		viewDisplay: false,
		rules: [{
			required: true,
			message: "请输入评估人",
			trigger: "blur"
		}]
	},
	{
		label: "最近评估时间",
		prop: "zjpgsj",
		align: "center",
		width: 100,
		addDisplay: false,
		editDisplay: false,
		viewDisplay: false,
		rules: [{
			required: true,
			message: "请输入最近评估时间",
			trigger: "blur"
		}]
	},
	{
		label: "下次评估时间",
		prop: "xcpgsj",
		align: "center",
		width: 100,
		addDisplay: false,
		editDisplay: false,
		viewDisplay: false,
		rules: [{
			required: true,
			message: "请输入下次评估时间",
			trigger: "blur"
		}]
	},
	{
		label: '',
		prop: "map",
		span: 24,
		hide: true,
		formslot: true,
	},
	{
		label: "经度",
		prop: "jd",
		hide: true,
		rules: [{
			required: true,
			message: "请输入经度",
			trigger: "blur"
		}]
	},
	{
		label: "纬度",
		prop: "wd",
		hide: true,
		rules: [{
			required: true,
			message: "请输入纬度",
			trigger: "blur"
		}]
	},
	{
		label: "风险点评估",
		prop: "fxdpg",
		align: "center",
		slot: true,
		width: 120,
		viewDisplay: false,
		addDisplay: false,
		editDisplay: false
	},
	{
		label: "风险点管控",
		prop: "fxdgk",
		align: "center",
		slot: true,
		width: 120,
		viewDisplay: false,
		addDisplay: false,
		editDisplay: false
	}
]